package com.kingdee.eas.minghua.finance;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class MoneyOrderFactory
{
    private MoneyOrderFactory()
    {
    }
    public static com.kingdee.eas.minghua.finance.IMoneyOrder getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.minghua.finance.IMoneyOrder)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("CD5EFBE3") ,com.kingdee.eas.minghua.finance.IMoneyOrder.class);
    }
    
    public static com.kingdee.eas.minghua.finance.IMoneyOrder getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.minghua.finance.IMoneyOrder)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("CD5EFBE3") ,com.kingdee.eas.minghua.finance.IMoneyOrder.class, objectCtx);
    }
    public static com.kingdee.eas.minghua.finance.IMoneyOrder getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.minghua.finance.IMoneyOrder)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("CD5EFBE3"));
    }
    public static com.kingdee.eas.minghua.finance.IMoneyOrder getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.minghua.finance.IMoneyOrder)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("CD5EFBE3"));
    }
}